package com.lxmes.business.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 回款主表对象 cc_hk_main
 * 
 * @author 王超
 * @date 2022-08-27
 */
public class CcHkMain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 回款编号 */
    private Long id;

    /** 公司编号 */
    @Excel(name = "公司编号")
    private Long deptId;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private Long cusId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String cusName;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderId;

    /** 订单标题 */
    @Excel(name = "订单标题")
    private String orderTitle;

    /** 回款总金额 */
    @Excel(name = "回款总金额")
    private BigDecimal hkTotalMoney;

    /** 最近回款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最近回款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastTime;

    /** 状态 */
    @Excel(name = "状态")
    private String flag;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String res1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String res2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String res3;

    /** 更新时间 */
    private String beginTime;

    /** 更新时间 */
    private String endTime;

    private  String queryParams;

    public String getQueryParams() {
        return queryParams;
    }

    public void setQueryParams(String queryParams) {
        this.queryParams = queryParams;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setCusId(Long cusId) 
    {
        this.cusId = cusId;
    }

    public Long getCusId() 
    {
        return cusId;
    }
    public void setCusName(String cusName) 
    {
        this.cusName = cusName;
    }

    public String getCusName() 
    {
        return cusName;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setOrderTitle(String orderTitle) 
    {
        this.orderTitle = orderTitle;
    }

    public String getOrderTitle() 
    {
        return orderTitle;
    }
    public void setHkTotalMoney(BigDecimal hkTotalMoney) 
    {
        this.hkTotalMoney = hkTotalMoney;
    }

    public BigDecimal getHkTotalMoney() 
    {
        return hkTotalMoney;
    }
    public void setLastTime(Date lastTime) 
    {
        this.lastTime = lastTime;
    }

    public Date getLastTime() 
    {
        return lastTime;
    }
    public void setFlag(String flag) 
    {
        this.flag = flag;
    }

    public String getFlag() 
    {
        return flag;
    }
    public void setRes1(String res1) 
    {
        this.res1 = res1;
    }

    public String getRes1() 
    {
        return res1;
    }
    public void setRes2(String res2) 
    {
        this.res2 = res2;
    }

    public String getRes2() 
    {
        return res2;
    }
    public void setRes3(String res3) 
    {
        this.res3 = res3;
    }

    public String getRes3() 
    {
        return res3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("cusId", getCusId())
            .append("cusName", getCusName())
            .append("orderId", getOrderId())
            .append("orderTitle", getOrderTitle())
            .append("hkTotalMoney", getHkTotalMoney())
            .append("lastTime", getLastTime())
            .append("flag", getFlag())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("res1", getRes1())
            .append("res2", getRes2())
            .append("res3", getRes3())
            .toString();
    }
}
